package com.achievement.mapper;

import com.achievement.domain.entity.PatentEntity;
import com.achievement.domain.vo.PatentVO;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;


public interface PatentMapper extends BaseMapper<PatentEntity>
{
    List<PatentVO> getList(@Param(Constants.WRAPPER)Wrapper<PatentEntity> queryWrapper);

    List<HashMap<String, Integer>> listStatistics(@Param(Constants.WRAPPER)LambdaQueryWrapper<PatentEntity> queryWrapper);
}
